package org.concepts.java.util;

public class JavaLuceneUtil {

  /**
   * Returns the root of the project location.
   * 
   * @return
   */
  public static String getRoot() {
    // Assumes that user runs the project form project root dir.
    return System.getProperty("user.dir");
  }
  
  public static String getResourcesDir() {
    return getRoot() + System.getProperty("file.separator") + "resources";
  }
  
}
